home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib7 / v_09_05 / 9n05043a < prev    next >
Encoding:
Text File  |  1995-11-01  |  224 b   |  14 lines

  1.  
  2.     Display        *display;
  3.     Window        window;
  4.     GC            gc;
  5.     int            x, y;        /* upper left corner */
  6.     unsigned int    width, height;    /* size of rectangle */
  7.  
  8.     XFillRectangle( display,
  9.         window,
  10.         gc,
  11.         x, y,
  12.         width, height );
  13.  
  14.